package com.timesheet.gui.efforttracker.composite;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import com.timesheet.gui.efforttracker.composite.WSRDateChooseComposite;
import org.eclipse.swt.widgets.Label;

public class UtilisationMainComposite extends Composite {

	/**
	 * Create the composite.
	 * 
	 * @param parent
	 * @param style
	 */
	public UtilisationMainComposite(Composite parent, int style) {
		super(parent, style);
		setLayout(new GridLayout(1, false));

		WSRDateChooseComposite dateChooseComposite = new WSRDateChooseComposite(
				this, SWT.NONE);
		GridData gd_dateChooseComposite = new GridData(SWT.LEFT, SWT.CENTER,
				true, false, 1, 1);
		
		dateChooseComposite.setLayoutData(gd_dateChooseComposite);
		

		UtilisationComposite detailedUtilisationComposite = new UtilisationComposite(this,
				SWT.NONE);
		detailedUtilisationComposite.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false,
				false, 1, 1));
		
		
		DetailedUtilisationComposite composite_1 = new DetailedUtilisationComposite(this, SWT.NONE);
		composite_1.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));

	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}
}
